﻿using System.Collections.ObjectModel;

namespace FinalPointSet.Model.Model.MockData
{
    /// <summary>
    /// 自定义词语
    /// </summary>
    public class MockRule : RunnableScript
    {
        /// <summary>
        /// 模板
        /// </summary>
        public ObservableCollection<MockParamTemplate> ParamTemplates { get; set; } = [];

        public override string? ToString()
        {
            return $"ID={ID}, Name={Name}, Description={Description}, Script={Script}, Param={Param}, ParamTemplates={string.Concat(ParamTemplates)}";
        }
    }
}
